/*
 * @Date: 2022-04-27 11:26:20
 * @LastEditors: wuyuxin
 * @LastEditTime: 2022-04-27 11:26:26
 * @FilePath: \Vue3-ts-cms\src\views\main\product\goods\config\content.config.ts
 * @description: 文件描述
 */
export const contentTableConfig = {
  title: '商品列表',
  propList: [
    { prop: 'name', label: '商品名称', minWidth: '80', align: 'center' },
    {
      prop: 'oldPrice',
      label: '原价格',
      minWidth: '80',
      slotName: 'oldPrice',
      align: 'center'
    },
    { prop: 'newPrice', label: '现价格', minWidth: '80', align: 'center' },
    {
      prop: 'imgUrl',
      label: '商品图片',
      minWidth: '100',
      slotName: 'image',
      align: 'center'
    },
    {
      prop: 'status',
      label: '状态',
      minWidth: '100',
      slotName: 'status',
      align: 'center'
    },
    {
      prop: 'createAt',
      label: '创建时间',
      minWidth: '250',
      slotName: 'createAt',
      align: 'center'
    },
    {
      prop: 'updateAt',
      label: '更新时间',
      minWidth: '250',
      slotName: 'updateAt',
      align: 'center'
    },
    { label: '操作', minWidth: '120', slotName: 'handler', align: 'center' }
  ],
  showIndexColumn: true,
  showSelectColumn: true
}
